
package net.qiqbframework.common.transaction;

/**
 * Interface of an object that represents a started transaction that can be committed or rolled back.
 *
 */
public interface Transaction {

    /**
     * Commit this transaction.
     */
    void commit();

    /**
     * Roll back this transaction.
     */
    void rollback();

}
